package cn.lx.es.query.annotation;

import cn.lx.es.query.registrar.DynamicEsEntityRegistrar;
import cn.lx.es.query.registrar.SearchProcessorRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({DynamicEsEntityRegistrar.class, SearchProcessorRegistrar.class})
public @interface EnableDynamicEsQuery {
    String[] entityBasePackages() default  {};


    String[] processorBasePackages() default {};
}
